{config_load file="test.conf" section="setup"}
{include file="header.tpl" title={$titulo}}
{include file="menu.tpl"}
<div class="container">
	
	Novo: <img src='libs/imagens/add.png' alt='::Adicionar::' onclick='location.href="usuario.php?action=addUsuario"' />
	<table class='table table-striped'>
		<caption>Lista de Usuários</caption>
		<thead>
			<th>Nome</th>
			<th>Perfil</th>
			<th>Data de Cadastro</th>
			<th>Editar</th>
			<th>Deletar</th>
		</thead>
		{section name=i loop=$usuario}
		<tbody>
		<tr>
			<td>
				{$usuario[i]}
			</td>
			<td>
				{$perfil[i]}
			</td>
			<td>
				{$data_cadastro[i]}
			</td>
			<td align='center'>
				<img src='libs/imagens/edit.png' alt='::Editar::' onclick='location.href="usuario.php?idusuario={$idusuario[i]}&action=editUsuario"' />
			</td>
			<td align='center'>
				<img src='libs/imagens/delete.png' alt='::Deletar::' onclick='location.href="usuario.php?idusuario={$idusuario[i]}&action=delUsuario"'/>
			</td>
		</tr>
		</tbody>
		{/section}
	</table>
	
	
</div> <!-- /container -->



    
{include file="footer.tpl"}


    
